home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d22 / csap208b.arc / READ.ME < prev    next >
Text File  |  1989-10-10  |  2KB  |  48 lines

  1.            CSAP - Sort And Pack Directories [C source]
  2.  
  3. Author:  Don A. Williams
  4. Version: 2.06
  5. Date:    June, 24, 1987
  6.  
  7. CSAP is composed of 4 modules;  CSAP.C, SORTDIR.C, ISDEV.C.C, and 
  8. GETDPB.C.  The  current  version  of  CSAP,  CSAP 2.06,  has been 
  9. designed for compilation with  Borland  International's  Turbo  C 
  10. 1.0.  The  module  ISDEV.C.C  could  be  replaced  by  Turbo  C's 
  11. supplied function isatty(),  however,  I plan to extend ISDEV.C.C 
  12. to  distinguish  among  files,  CON,  AUX,  and the printer.  The 
  13. function  isatty()  just  distinguishes  between  files  and  the 
  14. others.  
  15.  
  16. GETDPB.C cannot be compiled in Turbo C's interactive  environment 
  17. (TC).  It  is  primarily  inline  ASM  code and requires the more 
  18. conventional environment provided by Turbo C's TCC command.  As a 
  19. result,  CSAP was designed to be compiled through the  use  of  a 
  20. MAKEFILE and the MAKE facility of Turbo C.  
  21.  
  22. CSAP currently compiles and executes correctly in  any  of  Turbo 
  23. C's  supported  memory  models  except HUGE.  The memory model is 
  24. defined as a macro in the MAKEFILE and is supplied  on  the  MAKE 
  25. command line, i.e.: 
  26.  
  27.         MAKE -DM=s
  28.  
  29. to make a SMALL memory model version of CSAP  (the  "s"  must  be 
  30. lower  case  since  it  is  a  parameter  to  TCC and TCC is case 
  31. sensitive on its parameters).  The resultant  EXE  file  will  be 
  32. named  CSAPx.EXE where 'x' is C,  S,  M,  or L depending upon the 
  33. memory model selected.  There is no default memory model as  yet, 
  34. the  desired  model  MUST  be specified on the MAKE command line.  
  35. The current MAKEFILE will NOT work properly for the  TINY  memory 
  36. model,  the  library specifications in the MAKEFILE would have to 
  37. be modified to use the SMALL libraries for the TINY model and the 
  38. effort is probably not worth it.  The command: 
  39.  
  40.         TCC -mt -G csap sortdir isdevice getdpb
  41.  
  42. would  have  to be used to produce a TINY memory model version of 
  43. CSAP and would produce an EXE file with the name CSAP.EXE.  
  44.  
  45. The  EXE  and OBJ files in the CSAPxxx ARC have been produced for 
  46. the COMPACT model which is probably the most general.  
  47.  
  48.